﻿@using System.Data;
@{
    Layout = "~/Views/Shared/_Layout.cshtml"; 
}
@section header_feature
{    
    <link href="~/Content/themes/tsx/css/style.css" rel="stylesheet" type="text/css" />
}
<div class="content">
  <div class="t_title">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="33" colspan="2" align="center"><h1>动车组运行记录</h1></td>
      </tr>
      <tr>
        <td width="45%">车组号<span>@Html.RowData("TRAINNUMBER")</span></td>
        <td width="55%" align="right"><span>@Html.RowData("STARTTIME")</span>至<span>@Html.RowData("ENDTIME")</span></td>
      </tr>
    </table>
  </div>
  <div class="t_body">
    <table border="0" cellpadding="0" cellspacing="0" >
      <tr >
        <td width="15%" >出乘指示 </td>
        <td colspan="9" >@Html.RowData("CCZS")</td>
      </tr>
      <tr>
        <td height="29">学习内容或领导添乘批示</td>
        <td colspan="9">@Html.RowData("XXNR")</td>
      </tr>
      <tr >
        <td>日期</td>
        <td width="9%">时间</td>
        <td width="8%">车次</td>
        <td width="11%">区段</td>
        <td colspan="3">运行记事</td>
        <td width="12%"><p align="center">随车机械师</p></td>
        <td width="12%">列车长</td>
        <td width="11%">司机</td>
      </tr>
        @foreach (DataRow row in ((DataSet)ViewData["YXJL_YXJS"]).Tables[0].Rows)
        {
             <tr >
                <td height="55">@row["CREATE_TIME"]</td>
                <td>@row["CREATE_TIME"]</td>
                <td>@row["TRAINNUM"]</td>
                <td>@row["QD"]</td>
                <td colspan="3">@row["YXJS"]</td>
                <td>@row["SCJS_SIGN"]</td>
                <td>@row["LCZ_SIGN"]</td>
                <td>@row["SJ_SIGN"]</td>
              </tr> 
        }
         
      <tr >
        <td colspan="2" rowspan="2"><p align="center">随车工具交接</p></td>
        <td width="4%" colspan="3">@Html.RowData("SCGJ_CC_CONTENT")</td>
        <td width="18%" colspan="2">出乘随车机械师</td>
        <td>@Html.RowData("SCGJ_CC_SIGN")</td>
        <td colspan="2">累计行走里程</td>
      </tr>
      <tr >
        <td colspan="3">@Html.RowData("SCGJ_TC_CONTENT")</td>
        <td colspan="2">退乘随车机械师</td>
        <td>@Html.RowData("SCGJ_TC_SIGN")</td>
        <td colspan="2">@Html.RowData("LJXZLC")</td>
      </tr>
      <tr >
        <td rowspan="2">车载备品交接</td>
        <td>出库</td>
        <td colspan="5">@Html.RowData("CZBP_CK_CONTENT")</td>
        <td colspan="2"><p align="center">出库随车机械师</p></td>
        <td>@Html.RowData("CZBP_CK_SIGN")</td>
      </tr>
      <tr >
        <td>入库</td>
        <td colspan="5">@Html.RowData("CZBP_RK_CONTENT")</td>
        <td colspan="2"><p align="center">入库随车机械师</p></td>
        <td>@Html.RowData("CZBP_RK_SIGN")</td>
      </tr>
      <tr >
        <td colspan="3"><div >
            <li>调度员签字：</li>
			<li>@Html.RowData("DDY_SIGN")</li>
			<li class="r">@Html.RowData("DDY_SIGN_TIME")</li>
          </div></td>
        <td colspan="4"><div >
            <li>乘务指导审阅：</li>
			<li>@Html.RowData("CWZD_SIGN")</li>
			<li class="r">@Html.RowData("CWZD_SIGN_TIME")</li>
          </div></td>
        <td colspan="3"><div >
            <li>值班所长审阅：</li>
			<li>@Html.RowData("ZBSZ_SIGN")</li>
			<li class="r">@Html.RowData("ZBSZ_SIGN_TIME")</li>
          </div></td>
      </tr>
    </table><div class="t_sm"> <li>填表说明：</li>
			<li>1.	运行记事栏填写随车机械师执乘区段动车组运行实际情况，运行正常填写“良好”，发生异常情况详细添记。</li>
			<li>2.	累计行走里程由随车机械师在动车组出所前到调度室抄记或按本车系统显示填写。</li>
	</div>
  </div>
</div>

<div class="content">
  <div class="t_title">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="100%" height="33" align="center"><h1>动车组设备技术状态交接单</h1></td>
      </tr>
    </table>
  </div>
  <div class="t_body">
    <table width="200" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="17%" rowspan="30">随车机械师入所交接故障</td>
        <td width="7%">车号</td>
        <td width="16%">故障情况</td>
        <td width="10%">发现时间
        </td>
        <td width="12%">发现者</td>
        <td width="18%">处理情况</td>
        <td width="10%"><p align="center">检修班组签字</p>
        </td>
        <td width="10%">接车机械师确认</td>
      </tr>
         @foreach (DataRow row in ((DataSet)ViewData["YXJL_RSGZ"]).Tables[0].Rows)
        {
             <tr>
                <td>@row["TRAIN_INDEX"]</td>
                <td>@row["GZQK"]</td>
                <td>@row["FXSJ"]</td>
                <td>@row["FXZ"]</td>
                <td>@row["CLQK"]</td>
                <td>@row["JXBZ_SIGN"]</td>
                <td>@row["JCJXS_SIGN"]</td>
              </tr>
        }
    </table>
    </div>
	</div>
<div class="content">
  <div class="t_body">
    <table width="200" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="17%" rowspan="30">地面作业组发现故障</td>
        <td width="14%">车号</td>
        <td width="19%">故障情况</td>
        <td width="13%"><p align="center">处理情况</p>        </td>
        <td width="15%">接车机械师确认</td>
        <td width="21%">途中跟踪情况</td>
      </tr>
        @foreach (DataRow row in ((DataSet)ViewData["YXJL_DMGZ"]).Tables[0].Rows)
        {
             <tr>
                <td>@row["TRAIN_INDEX"]</td>
                <td>@row["GZQK"]</td>
                <td>@row["CLQK"]</td>
                <td>@row["JCJXS_SIGN"]</td>
                <td>@row["TZGZQK"]</td>
              </tr>
        }      
    </table>
  </div>
	</div><div class="content">
  <div class="t_body">
    <table width="200" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="17%" rowspan="30">接车机械师发现故障</td>
        <td width="22%">车号</td>
        <td width="24%">故障情况</td>
        <td width="18%">处理情况</td>
        <td width="20%">接车机械师确认</td>
      </tr>
        @foreach (DataRow row in ((DataSet)ViewData["YXJL_JCGZ"]).Tables[0].Rows)
        {
             <tr>
                <td>@row["TRAIN_INDEX"]</td>
                <td>@row["GZQK"]</td>
                <td>@row["CLQK"]</td>
                <td>@row["JCJXS_SIGN"]</td>
              </tr>
        }  
    </table>
  </div>
	</div>
